package com.carey.blog.framework.latke;

import java.text.DateFormat;
import java.text.SimpleDateFormat;

/**
 * This class defines framework(non-functional) keys.
 * 
 */
public final class Keys {

	/**
	 * Key of message.
	 */
	public static final String MSG = "msg";
	/**
	 * Key of event.
	 */
	public static final String EVENTS = "events";
	/**
	 * Key of code.
	 */
	public static final String CODE = "code";
	/**
	 * Key of action status.
	 */
	public static final String STATUS = "status";
	/**
	 * Key of action status code.
	 */
	public static final String STATUS_CODE = "sc";
	/**
	 * Key of session id.
	 */
	public static final String SESSION_ID = "sId";
	/**
	 * Key of results.
	 */
	public static final String RESULTS = "rslts";
	/**
	 * Key of id of an entity json object.
	 */
	public static final String OBJECT_ID = "oId";
	/**
	 * Key of ids.
	 */
	public static final String OBJECT_IDS = "oIds";
	/**
	 * Key of locale.
	 */
	public static final String LOCALE = "locale";
	/**
	 * Key of language.
	 */
	public static final String LANGUAGE = "lang";
	/**
	 * Simple date format. (yyyy-MM-dd HH:mm:ss)
	 */
	public static final DateFormat SIMPLE_DATE_FORMAT1 = new SimpleDateFormat(
			"yyyy-MM-dd HH:mm:ss");
	/**
	 * Key of page cache key.
	 */
	public static final String PAGE_CACHE_KEY = "pageCacheKey";

	/**
	 * Private constructor.
	 */
	private Keys() {
	}
}
